package tgc.rj.zz.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

@Entity
public class Books {
	private Integer id;
	private String byid;  //编号
	private String filename; //图片名称
	private String uuid; //uuid
	private String title;//书名
	private String suthor; //作者
	private Integer number;//数量

	
	public Books() {
		super();
	}
	public Books(Integer id, String byid, String filename, String uuid, String title, String suthor, Integer number) {
		super();
		this.id = id;
		this.byid = byid;
		this.filename = filename;
		this.uuid = uuid;
		this.title = title;
		this.suthor = suthor;
		this.number = number;
	
	}
	@Id
	@GeneratedValue
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getByid() {
		return byid;
	}
	public void setByid(String byid) {
		this.byid = byid;
	}
	public String getFilename() {
		return filename;
	}
	public void setFilename(String filename) {
		this.filename = filename;
	}
	public String getUuid() {
		return uuid;
	}
	public void setUuid(String uuid) {
		this.uuid = uuid;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title; 
	}
	public String getSuthor() {
		return suthor;
	}
	public void setSuthor(String suthor) {
		this.suthor = suthor;
	}
	public Integer getNumber() {
		return number;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
}
